package com.ruoyi.system.domain;

/**
 * @ProjectName: ruoyi
 * @ClassName: DdPrice
 * @Description:
 * @Author: @Abeiv
 * @Date: 2020-3-6 10:29
 */
public class DdPrice {
   private int index; // 索引
   private double price; // 价格
   private double range; // 距离
    public DdPrice(double price, double range) {
        this.price = price;
        this.range = range;
    }

    public DdPrice(int index, double price, double range) {
        this.index = index;
        this.price = price;
        this.range = range;
    }


    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public double getRange() {
        return range;
    }

    public void setRange(double range) {
        this.range = range;
    }

    @Override
    public String toString() {
        return "DdPrice{" +
                "index=" + index +
                ", price=" + price +
                ", range=" + range +
                '}';
    }
}
